package bankingSystemServer;

import java.util.Vector;

/**
 * holds accounts and performs search operations
 * 
 */
public class AccountDatabase {
	private Vector<Account> accounts;

	/**
	 * creates a new AccountDatabase
	 */
	public AccountDatabase() {
		accounts = new Vector<Account>();
	}
	
	/**
	 * finds the account by account number
	 * @param customerName
	 * @return the account
	 */
	public Account findCustomerAccountByAccountNumber(){
		
		return null;
	}

	/**
	 * finds the account by customer name
	 * @param customerName
	 * @return
	 */
	public Vector<Integer> getAccountInfoForCustomer(String customerName) {
		return null;
	}

	public void addAccount(Account newAccount) {
		accounts.add(newAccount);
	}
}
